<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    div {
      width: 0;
      /*width不为0是梯形，缩成0就是三角了*/
      border-left: 5px solid transparent;
      border-right: 5px solid transparent;
      border-bottom: 10px solid red;
    }
  </style>
</head>

<body>
  <div>
    11
  </div>
</body>

</html>